package org.example.messenger.activity.timer;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
import org.springframework.stereotype.Service;

@Service
public class TimerEventTriggerDatabaseScheduler {

	protected final Log LOGGER = LogFactory.getFactory().getInstance(this.getClass().getName());

	@Autowired
	protected ThreadPoolTaskScheduler timerEventTriggerScheduler;

	@Scheduled(fixedRate = 500)
	public void doSomething() {
		LOGGER.info("updating timer event triggers");

	}
}
